import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/GDMain/GDHome'
import Function from '@/components/GDMain/GDFunction'
import Printer from '@/components/GDFunc/GDFunctionOrderPrinter'
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path:'/printer',
      name:'printer',
      component: Printer
    },
    {
      path:'/fun',
      name: 'function',
      component: Function,
      props:true
    },

  ]
})
